#include "errorreporter.h"
#include <QUdpSocket>
#include <QHostAddress>

ErrorReporter::~ErrorReporter()
{
    QByteArray ba = buffer.toUtf8();
    QUdpSocket socket;
    QHostAddress address("pda.brestmilk.by");
    socket.writeDatagram(ba, address, 11010);
}
